#!/bin/bash
#========================================================================
# Author: YSLin
# Email: 
# File Name: sha1_show.sh
# Description: 
#   Calculate sha1.
# Edit History: 
#   2011-02-10    File created.
#========================================================================
echo ""> sha1all;
for file in `find . -name "*.apk"`
do
	sha1sum "$file" >> sha1all;
done
sort sha1all > sha2all
cat sha2all | uniq -w 40 -c > sha3all
rm sha1all sha2all
mv sha3all sha1list
